/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Modellayer;

/**
 *
 * @author Michael
 */
public class SalesLineItem
{
    int salesLineItemID;
    int amount;
    Product product;
    SalesOrder salesOrder;

        public SalesLineItem()
        {
			salesLineItemID = 0;
        }

	public SalesLineItem(int amount, Product product, SalesOrder salesOrder)
	{
	this.amount = amount;
	this.product = product;
        this.salesOrder = salesOrder;

	}

        public int getSalesLineID()
        {
            return salesLineItemID;
        }

        public void setSalesLineID(int salesLineItemID)
        {
            this.salesLineItemID = salesLineItemID;
        }

	public int getAmount()
	{
		return amount;
	}

	public Product getProduct()
	{
		return product;
	}

        public SalesOrder getSalesOrder()
        {
            return salesOrder;
        }

	public void setAmount(int amount)
	{
		this.amount = amount;
	}

	public void setProduct(Product product)
	{
		this.product = product;
	}

        public void setSalesOrder(SalesOrder salesOrder)
        {
            this.salesOrder = salesOrder;
        }

}